\name{rmLargeSpread}
\Rdversion{1.1}
\alias{rmLargeSpread}
\title{
Delete entries for which the spread is more than "maxi" times the median
spread
}
\description{
Function deletes entries for which the spread is more than "maxi" times the median
spread on that day.
}

\usage{
rmLargeSpread(qdata,maxi)
}

\arguments{
  \item{qdata}{an xts object at least containing the columns "BID" and "OFR".} 
  \item{maxi}{an integer. By default maxi="50", 
which means that entries are deleted if the spread is more than 50 times the median spread on that day.}
}

\section{Details}{NOTE: This function works only correct if supplied input data consists of 1 day!}

\value{
xts object
}

\author{ Jonathan Cornelissen and Kris Boudt}

\keyword{ cleaning }